﻿package {
	import org.flixel.*;
	
	public class StateGameOver extends FlxState	{
        private var play_lol:Boolean;

		public function StateGameOver() {
            play_lol = false;
			add(new FlxText(300, 300, 640, "GAME OVER"));
		}
		
		override public function update():void {
			if (!play_lol) {
                FlxG.play(ResourceManager.game_over);
                play_lol = true;
            }

			super.update();
		}
	}
}
